package com.mrdeer.user.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author ：xie jianchu
 * @date ：Created in 2020/9/4 0004 10:44
 */
@Data
@TableName("account")
public class Account implements Serializable {
    private static final long serialVersionUID = 2034050172783686936L;

    @TableId(value = "ID", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 用户名
     */
    @TableField("USERNAME")
    private String username;

    /**
     * 手机号
     */
    @TableField("MOBILE")
    private String mobile;

    /**
     * 密码
     */
    @TableField("PASSWORD")
    private String password;

    /**
     * 盐
     */
    @TableField("SALT")
    private String salt;
}
